import os
BASE_DIR=os.path.abspath(os.path.dirname(__file__))
class Config(object):
    #SQLALCHEMY_DATABASE_URI='mysql+pymysql://root:123456@localhost:5432/flaskblog?charset=utf8'
    #SQLALCHEMY_DATABASE_URI='postgresql://postgres:123456@localhostog_db'
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(BASE_DIR,'app.db')
  
    SQLALCHEMY_TRACK_MODIFICATIONS = False
